home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3mount.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.2 KB  |  57 lines

  1.  
  2. // JavaScript wrapper for r3mount.h
  3. // Auto generated file, do not modify by hand
  4. // Copyrights 2002, Realsoft Graphics Oy
  5.  
  6. var R3_MOUNT_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_MOUNT = 1630;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. // R3MOUNTA_Parent: parent . Supports both R3RM_SET and R3RM_GET.
  19. R3MOUNTA_Parent = 1630500;
  20. function SetR3MOUNTA_Parent(value) {
  21.   R3Set(this.r3obj, R3MOUNTA_Parent, value); 
  22. }
  23.  
  24. function GetR3MOUNTA_Parent() {
  25.   return R3Get(this.r3obj, R3MOUNTA_Parent, R3TID_INTEGER, 0); // R3OBJ*
  26. }
  27.  
  28. // R3MOUNTA_Model: sub system to be mounted . Supports both R3RM_SET and R3RM_GET.
  29. R3MOUNTA_Model = 1630501;
  30. function SetR3MOUNTA_Model(value) {
  31.   R3Set(this.r3obj, R3MOUNTA_Model, value); 
  32. }
  33.  
  34. function GetR3MOUNTA_Model() {
  35.   return R3Get(this.r3obj, R3MOUNTA_Model, R3TID_INTEGER, 0); // R3OBJ*
  36. }
  37.  
  38.  
  39.  
  40. function r3Mount () { 
  41.    this.base = r3God;
  42.    if(arguments.length) {
  43.       this.base(R3CLID_MOUNT, arguments);
  44.    }
  45.    // Attributes
  46. }
  47.  
  48. r3Mount.prototype=new r3Root;
  49.    // Attributes
  50.    this.GetParent=GetR3MOUNTA_Parent;
  51.    this.SetParent=SetR3MOUNTA_Parent;
  52.    this.GetModel=GetR3MOUNTA_Model;
  53.    this.SetModel=SetR3MOUNTA_Model;
  54. }
  55.  
  56. r3Mount.prototype=new r3Root;
  57. // r3mount.h_H